//: Playground - noun: a place where people can play

import Cocoa

var str = "Hello, playground"
120/255.0
CGFloat(120/255)


let data:NSData?
let strJson:NSString?
do {
    data = try NSJSONSerialization.dataWithJSONObject(["":""], options: NSJSONWritingOptions.PrettyPrinted)
    strJson=NSString(data: data!, encoding: NSUTF8StringEncoding)
    print(strJson!)
} catch {
    print("发生错误")
}
